package spindles.gwt.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

public abstract class DTO implements IsSerializable {
	
	private String errorMessage;
	
	private String id;
	
	public DTO(){};
	
	public abstract String[] toRecord();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
}
